package com.cmict.data.bpm.controller.admin.definition.vo.task;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* 流程变量 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class TaskVariableBaseVO {

    @ApiModelProperty(value = "流程变量名称", required = true)
    private String name;

    @ApiModelProperty(value = "流程模型的编号", required = true)
    private String modelId;

    @ApiModelProperty(value = "流程定义的编号")
    private String processDefinitionId;

    @ApiModelProperty(value = "流程实例的编号")
    private String processInstanceId;

    @ApiModelProperty(value = "流程任务id", required = true)
    private String taskId;

    @ApiModelProperty(value = "活动类型")
    private String type;

    @ApiModelProperty(value = "规则类型")
    private Integer rule;

    @ApiModelProperty(value = "规则值，JSON 数组", required = true)
    private String options;

}
